#ifndef OBDEATHFIELD_H
#define OBDEATHFIELD_H

#include "ObStatic.h"
#include "d3dx9.h"

class ObDeathField : public ObStatic{
public:
	enum DEATHFIELD { Deathfield1 = 120};
	ObDeathField();
	~ObDeathField();

	bool setId(int nid);
	static bool checkType(int obID);

	void collidedWith(ObObject* object, CollisionRS rs);
	void update(float dt);
	void render(ID3DXSprite* mSprite);

	static bool loadTexture();
	static bool releaseTexture();

};

#endif